From: Jochen Sprickerhof Date: Fri, 14 Sep 2018 19:17:28 +0000 (+0200) Subject: Add patch for pcl_2d-1.8.pc X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~138 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=342946af4b481e5b0a724899835cf698104532ab;p=pcl.git Add patch for pcl_2d-1.8.pc --- diff --git a/debian/patches/0001-Generate-pkgconfig-for-2d-module.patch b/debian/patches/0001-Generate-pkgconfig-for-2d-module.patch new file mode 100644 index 00000000..46d74566 --- /dev/null +++ b/debian/patches/0001-Generate-pkgconfig-for-2d-module.patch @@ -0,0 +1,26 @@ +From f26bd2f898b45cc24854031e3a13397f315c2099 Mon Sep 17 00:00:00 2001 +From: Sergey Alexandrov +Date: Thu, 31 Aug 2017 11:59:19 +0200 +Subject: [PATCH] Generate pkgconfig for 2d module + +--- + 2d/CMakeLists.txt | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/2d/CMakeLists.txt b/2d/CMakeLists.txt +index afaa99846..5a3db1040 100644 +--- a/2d/CMakeLists.txt ++++ b/2d/CMakeLists.txt +@@ -35,6 +35,9 @@ if(build) + + include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" ${VTK_INCLUDE_DIRECTORIES}) + ++ set(LIB_NAME "pcl_${SUBSYS_NAME}") ++ PCL_MAKE_PKGCONFIG_HEADER_ONLY("${LIB_NAME}" "${SUBSYS_NAME}" "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "" "" "" "") ++ + #Install include files + PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs}) + PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}/impl" ${impl_incs}) +-- +2.19.0 + diff --git a/debian/patches/series b/debian/patches/series index 9caf0621..8b92a364 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 0002-Dereference-shared_ptr-fix-for-GCC8.patch 2422.patch 2338.patch +0001-Generate-pkgconfig-for-2d-module.patch